package com.example.service;

import com.example.common.R;
import com.example.pojo.entity.WmNews;

public interface NewsService {

    R getNewsList(String channelId, String title, Integer page, Integer size) throws Exception;

    R getNewsDetail(String newsId) throws Exception;


    R getNewsHotTitle() throws Exception;

    R addNews(WmNews wmNews, String token) throws Exception;

    R getHotNewsList(Integer size) throws Exception;

    R getPersonWorkList(Integer page, Integer size, String token,String title) throws Exception;

    R updatePersonWork( WmNews wmNews) throws Exception;

    R deleteWork(String newsId) throws Exception;
}
